package com.wondersgroup.fjzlpt.org.controller.view.zdgl;

import java.util.HashMap;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.alibaba.druid.util.StringUtils;
import com.alibaba.fastjson.JSONArray;
import com.wondersgroup.fjzlpt.org.service.inter.zy.ZyService;

@Controller
@RequestMapping("zdgl")
public class ZdglController {
	@Autowired
	private ZyService zyService;
	
	@RequestMapping("index.html")
	public String index(){
		return "zdgl/index";
	}
	
	@RequestMapping("manager.html")
	public String manager(HttpServletRequest request){
		String ZDBM = request.getParameter("ZDBM");
		if(!StringUtils.isEmpty(ZDBM)){
			request.setAttribute("ZDBM", ZDBM);
		}
		String SFDJZY = request.getParameter("SFDJZY");
		if(!StringUtils.isEmpty(SFDJZY)){
			request.setAttribute("SFDJZY", SFDJZY);
		}
		return "zdgl/manager";
	}
	
	/*@RequestMapping("insert")
	public String insert(){
		return "zdgl/insert";
	}*/
}
